package hu.bme.orarend.shared;

import java.io.Serializable;

public class RoomDTO implements Serializable
{
  private static final long serialVersionUID = 1L;
  public static final String TYPE_0 = "Labor";
  public static final String TYPE_1 = "Előadó";
  public static final String YES = "Igen";
  public static final String NO = "Nem";
  
  private String name;
  private String building;
  private String floor;
  private String door;
  private Integer capacity;
  private String type;
  
  public RoomDTO ()
  {
	  
  }
  public RoomDTO (String n, String b, String f, String d, int c, String t, boolean p, boolean a)
  {
	  name=n;
	  building=b;
	  floor=f;
	  door=d;
	  capacity=c;
	  type=t;
	  projector=p;
	  amplifier=a;
  }
  
  public void assignDTO( RoomDTO roomDTO )
  {
    this.name = roomDTO.getName();
    this.building = roomDTO.getBuilding();
    this.floor = roomDTO.getFloor();
    this.door = roomDTO.getDoor();
    this.capacity = roomDTO.getCapacity();
    this.type = roomDTO.getType();
  }
  
  public String getName()
  {
    return name;
  }
  public void setName( String name )
  {
    this.name = name;
  }
  public String getBuilding()
  {
    return building;
  }
  public void setBuilding( String building )
  {
    this.building = building;
  }
  public String getFloor()
  {
    return floor;
  }
  public void setFloor( String floor )
  {
    this.floor = floor;
  }
  public String getDoor()
  {
    return door;
  }
  public void setDoor( String door )
  {
    this.door = door;
  }
  public Integer getCapacity()
  {
    return capacity;
  }
  public void setCapacity( Integer capacity )
  {
    this.capacity = capacity;
  }
  public String getType()
  {
    return type;
  }
  public void setType( String type )
  {
    this.type = type;
  }
  public Boolean getProjector()
  {
    return projector;
  }
  public void setProjector( Boolean projector )
  {
    this.projector = projector;
  }
  public Boolean getAmplifier()
  {
    return amplifier;
  }
  public void setAmplifier( Boolean amplifier )
  {
    this.amplifier = amplifier;
  }
  private Boolean projector;
  private Boolean amplifier;
}
